package name.jiaosha.air.install.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ali8ba.Domain;

/**
 * 回访信息表
 * 
 * @author xu
 * 
 */
@Entity
@Table(name="visit_message")
public class VisitMessage extends Domain {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2931432884319103141L;

	@Id()
	@Column(name = "id", unique = true, nullable = false, precision = 11)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@Column(name="docID")
	private String docID;

	@Column(name="content")
	private String content;

	@Column(name="createTime")
	private Date createTime;

	@Column(name="visitor")
	private String visitor;

	@Column(name="category")
	private String category;

	public VisitMessage() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDocID() {
		return docID;
	}

	public void setDocID(String docID) {
		this.docID = docID;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getVisitor() {
		return visitor;
	}

	public void setVisitor(String visitor) {
		this.visitor = visitor;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

}
